Project 2  1
ConvolutionOpSse Class Reference

#include <Usable.h>

Public Member Functions

 ConvolutionOpSse (const Matrix< double > &kernel)
 constructur, yeah
 
double operator() (const Matrix< double > &neighbourhood) const
 function as is More...
 

Public Attributes

uint radius = 0
 size of kernel
 
uint & vert_radius = radius
 fix for use inary_map
 
uint & hor_radius = radius
 

Detailed Description

Functor to be used in unary_map tp implement custom filter

Member Function Documentation

double ConvolutionOpSse::operator() ( const Matrix< double > &  neighbourhood) const

function as is

Прокаченная версия оператора свертки.

Note: работает только с матрицами 3*3

Parameters
neighbourhoodматрица-сосед, с элементами которой мы перемножаем
Returns
сумма произведений

The documentation for this class was generated from the following files: